package com.lvmama.java.rhino.spark.entity;

import java.io.Serializable;
import java.util.Date;

public class LogInfo implements Serializable {
	private static final long serialVersionUID = -8816892632100658171L;
	/** 日志打印时间 */
	private Date printTime;
	/** 日志打印级别 */
	private String logLevel;
	/** 日志项目名 */
	private String appName;
	/** 线程名 */
	private String threadName;
	/** 打印日志的类名 */
	private String className;
	/** 打印日志的代码行号 */
	private String classLineNum;
	/** 日志内容 */	
	private String content;
	/** Dubbo日志解析结果 */
	private DubboLogInfo dubboLog;
	public Date getPrintTime() {
		return printTime;
	}
	public void setPrintTime(Date printTime) {
		this.printTime = printTime;
	}
	public String getLogLevel() {
		return logLevel;
	}
	public void setLogLevel(String logLevel) {
		this.logLevel = logLevel;
	}
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getThreadName() {
		return threadName;
	}
	public void setThreadName(String threadName) {
		this.threadName = threadName;
	}
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	public String getClassLineNum() {
		return classLineNum;
	}
	public void setClassLineNum(String classLineNum) {
		this.classLineNum = classLineNum;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	@Override
	public String toString() {
		return "LogInfo [printTime=" + printTime + ", logLevel=" + logLevel + ", appName=" + appName + ", threadName=" + threadName + ", className=" + className + ", classLineNum=" + classLineNum + ", content=" + content + "]";
	}
	public DubboLogInfo getDubboLog() {
		return dubboLog;
	}
	public void setDubboLog(DubboLogInfo dubboLog) {
		this.dubboLog = dubboLog;
	}
}
